import http from "../utils/Http";
import { LoginData } from '../model/LoginModel'

/**
 * 登录
 */
export const login = (data:LoginData) => {
  return http({
    method: 'post',
    url: '/user/login',
    data: data
  })
}
